<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/IO/TMF.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li><li class="navelem"><a class="el" href="dir_a333a2d4ad4e0d1ce266d030e1c57edd.html">IO</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">TMF.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_t_m_f_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef SLIC3R_TMF_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define SLIC3R_TMF_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;../IO.hpp&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;../Zip/ZipArchive.hpp&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;cstdio&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;cstring&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;cmath&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;boost/move/move.hpp&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;boost/nowide/fstream.hpp&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;boost/nowide/iostream.hpp&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;expat/expat.h&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="_t_m_f_8hpp.html#a598a3330b3c21701223ee0ca14316eca">   18</a></span>&#160;<span class="preprocessor">#define PI 3.141592653589793238</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_slic3r.html">Slic3r</a> { <span class="keyword">namespace </span>IO {</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html">   23</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html">TMFEditor</a></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;{</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a8c6712f32bf2e068730ea0caa4c43da3">   26</a></span>&#160;    <span class="keyword">const</span> std::map&lt;std::string, std::string&gt; <a class="code" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a8c6712f32bf2e068730ea0caa4c43da3">namespaces</a> = {</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;            {<span class="stringliteral">&quot;3mf&quot;</span>, <span class="stringliteral">&quot;http://schemas.microsoft.com/3dmanufacturing/core/2015/02&quot;</span>}, <span class="comment">// Default XML namespace.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;            {<span class="stringliteral">&quot;slic3r&quot;</span>, <span class="stringliteral">&quot;http://schemas.slic3r.org/3mf/2017/06&quot;</span>}, <span class="comment">// Slic3r namespace.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;            {<span class="stringliteral">&quot;s&quot;</span>, <span class="stringliteral">&quot;http://schemas.microsoft.com/3dmanufacturing/slice/2015/07&quot;</span>}, <span class="comment">// Slice Extension.</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;            {<span class="stringliteral">&quot;content_types&quot;</span>, <span class="stringliteral">&quot;http://schemas.openxmlformats.org/package/2006/content-types&quot;</span>}, <span class="comment">// Content_Types namespace.</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;            {<span class="stringliteral">&quot;relationships&quot;</span>, <span class="stringliteral">&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot;</span>} <span class="comment">// Relationships namespace.</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    };</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a723dfd2a660f1bab9f1c5097355ba0bc">   35</a></span>&#160;    <a class="code" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a723dfd2a660f1bab9f1c5097355ba0bc">TMFEditor</a>(std::string input_file, <a class="code" href="class_slic3r_1_1_model.html">Model</a>* _model): zip_archive(nullptr), zip_name(input_file), model(_model), object_id(1)</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    {}</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a8689a38dac177f6aaaafcef4acc5094a">produce_TMF</a>();</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a58f8a21d9a5ef5d4f15f4bebc80adcd3">consume_TMF</a>();</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <a class="code" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#ab23afed7ab0f1f60c3cf77268d6affdf">~TMFEditor</a>();</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <a class="code" href="class_slic3r_1_1_zip_archive.html">ZipArchive</a>* zip_archive; </div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    std::string zip_name; </div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <a class="code" href="class_slic3r_1_1_model.html">Model</a>* model; </div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordtype">int</span> object_id; </div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordtype">bool</span> write_types();</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordtype">bool</span> write_relationships();</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">bool</span> write_model();</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordtype">bool</span> write_metadata(boost::nowide::ofstream&amp; fout);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">bool</span> write_object(boost::nowide::ofstream&amp; fout, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_model_object.html">ModelObject</a>* <span class="keywordtype">object</span>, <span class="keywordtype">int</span> index);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordtype">bool</span> write_build(boost::nowide::ofstream&amp; fout);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordtype">bool</span> read_model();</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;};</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html">   79</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html">TMFParserContext</a>{</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86">   81</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86">TMFNodeType</a> {</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a4cdf5e4d4ee8d88f963ee02cd3fce8ca">   82</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a4cdf5e4d4ee8d88f963ee02cd3fce8ca">NODE_TYPE_UNKNOWN</a>,</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ac14c782c22718a2f986f8ea1b2f9df2d">   83</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ac14c782c22718a2f986f8ea1b2f9df2d">NODE_TYPE_MODEL</a>,</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ad7815657975608a5972412440a57e845">   84</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ad7815657975608a5972412440a57e845">NODE_TYPE_METADATA</a>,</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aa2150af9c2d5a5bb0169d53708321203">   85</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aa2150af9c2d5a5bb0169d53708321203">NODE_TYPE_RESOURCES</a>,</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aedcac47c6f44f81462ca1cfd6f47a0d1">   86</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aedcac47c6f44f81462ca1cfd6f47a0d1">NODE_TYPE_OBJECT</a>,</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a5d16b0b6098e6dbdb686c8f268a696ab">   87</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a5d16b0b6098e6dbdb686c8f268a696ab">NODE_TYPE_MESH</a>,</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ae14dbe8c88fd692a18f99f7b48d7d7a0">   88</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ae14dbe8c88fd692a18f99f7b48d7d7a0">NODE_TYPE_VERTICES</a>,</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ac60492883f55b5d80a2a4d0235e61d50">   89</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ac60492883f55b5d80a2a4d0235e61d50">NODE_TYPE_VERTEX</a>,</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aeb4a1b823d210424b6628eab8603c8f1">   90</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aeb4a1b823d210424b6628eab8603c8f1">NODE_TYPE_TRIANGLES</a>,</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a62de991339133354a022dad6f23412dc">   91</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a62de991339133354a022dad6f23412dc">NODE_TYPE_TRIANGLE</a>,</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a222d4eef1b143275ed7330a3a5ca93f8">   92</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a222d4eef1b143275ed7330a3a5ca93f8">NODE_TYPE_COMPONENTS</a>,</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86afafbd121fc188b762aad15c7ee6d4a14">   93</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86afafbd121fc188b762aad15c7ee6d4a14">NODE_TYPE_COMPONENT</a>,</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aeb9a833790b80ca3ce69b3dbc7e4691f">   94</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aeb9a833790b80ca3ce69b3dbc7e4691f">NODE_TYPE_BUILD</a>,</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a9071b355d36afd8985a5076dfe751759">   95</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a9071b355d36afd8985a5076dfe751759">NODE_TYPE_ITEM</a>,</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aa87561148ee623ed053be27d42f18ded">   96</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aa87561148ee623ed053be27d42f18ded">NODE_TYPE_SLIC3R_METADATA</a>,</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ae4fd69b711e64e1ea93442eda04eeb63">   97</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ae4fd69b711e64e1ea93442eda04eeb63">NODE_TYPE_SLIC3R_VOLUMES</a>,</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a4610c7f7cc16b5c699a12f46e0db8065">   98</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a4610c7f7cc16b5c699a12f46e0db8065">NODE_TYPE_SLIC3R_VOLUME</a>,</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a39f42da0145f610923298ab0d01010b9">   99</a></span>&#160;        <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a39f42da0145f610923298ab0d01010b9">NODE_TYPE_SLIC3R_OBJECT_CONFIG</a>,</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    };</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad1ace9f8b53b111ec59052f31bd5d291">  103</a></span>&#160;    XML_Parser <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad1ace9f8b53b111ec59052f31bd5d291">m_parser</a>;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a05ab0d6cdf4e59d19893924799459ba6">  106</a></span>&#160;    std::vector&lt;TMFNodeType&gt; <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a05ab0d6cdf4e59d19893924799459ba6">m_path</a>;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a053951b41d1087a665b2afc2491210c1">  109</a></span>&#160;    <a class="code" href="class_slic3r_1_1_model.html">Model</a> &amp;<a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a053951b41d1087a665b2afc2491210c1">m_model</a>;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a11731e8f03e589487a4c7d25c87a2cbe">  112</a></span>&#160;    <a class="code" href="class_slic3r_1_1_model_object.html">ModelObject</a> *<a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a11731e8f03e589487a4c7d25c87a2cbe">m_object</a>;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad8708e604f97a404a1c06c99c8b2a5da">  115</a></span>&#160;    std::map&lt;std::string, int&gt; <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad8708e604f97a404a1c06c99c8b2a5da">m_objects_indices</a>;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#aef70a61b969fb15534010791ef478db5">  118</a></span>&#160;    std::vector&lt;bool&gt; <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#aef70a61b969fb15534010791ef478db5">m_output_objects</a>;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a79812d8b35af591f38df5880c287c343">  122</a></span>&#160;    std::vector&lt;float&gt; <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a79812d8b35af591f38df5880c287c343">m_object_vertices</a>;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#aff36112736b03cc90a7eebeccd21df56">  125</a></span>&#160;    <a class="code" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> *<a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#aff36112736b03cc90a7eebeccd21df56">m_volume</a>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a8534524b32971e9077c650db7802d98b">  128</a></span>&#160;    std::vector&lt;int&gt; <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a8534524b32971e9077c650db7802d98b">m_volume_facets</a>;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#afb30bdcb72919cbb7966ebf9daa4e710">  131</a></span>&#160;    std::string <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#afb30bdcb72919cbb7966ebf9daa4e710">m_value</a>[3];</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> XMLCALL <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ae4323d3df65ad95ec2c1fff30017f08a">startElement</a>(<span class="keywordtype">void</span> *userData, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> **atts);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> XMLCALL <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a111933475cde5ba21b1be1ec874bba2c">endElement</a>(<span class="keywordtype">void</span> *userData, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> XMLCALL <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad517d362256f0ac2554aee755eaf5263">characters</a>(<span class="keywordtype">void</span> *userData, <span class="keyword">const</span> XML_Char *s, <span class="keywordtype">int</span> len); <span class="comment">/* s is not 0 terminated. */</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#accb50f51c2f8a081cd8a5d8dca6b6ac1">get_attribute</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> **atts, <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">id</span>);</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a2c7014a335cb42f4044bd2665188170c">TMFParserContext</a>(XML_Parser parser, <a class="code" href="class_slic3r_1_1_model.html">Model</a> *model);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ae4323d3df65ad95ec2c1fff30017f08a">startElement</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> **atts);</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a111933475cde5ba21b1be1ec874bba2c">endElement</a>();</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#af4f6fef36e209328d2c9280c52a3fd70">endDocument</a>();</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad517d362256f0ac2554aee755eaf5263">characters</a>(<span class="keyword">const</span> XML_Char *s, <span class="keywordtype">int</span> len);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a84ad1cb764f2bac5f89c4b70d2a1c003">stop</a>();</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a98f3bde14fc0cfb28ce690dcb027a87c">get_transformations</a>(std::string matrix, std::vector&lt;double&gt;&amp; transformations);</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <a class="code" href="class_slic3r_1_1_model_volume.html">ModelVolume</a>* <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad740fb1796f7c33b353a913c01bb350d">add_volume</a>(<span class="keywordtype">int</span> start_offset, <span class="keywordtype">int</span> end_offset, <span class="keywordtype">bool</span> modifier);</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a8e3408bf8369df2657caa436d6e5e5c8">apply_transformation</a>(<a class="code" href="class_slic3r_1_1_model_object.html">ModelObject</a>* <span class="keywordtype">object</span>, std::vector&lt;double&gt;&amp; transformations);</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a8e3408bf8369df2657caa436d6e5e5c8">apply_transformation</a>(<a class="code" href="class_slic3r_1_1_model_instance.html">ModelInstance</a>* instance, std::vector&lt;double&gt;&amp; transformations);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;};</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;} }</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">#endif //SLIC3R_TMF_H</span></div><div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_aff36112736b03cc90a7eebeccd21df56"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#aff36112736b03cc90a7eebeccd21df56">Slic3r::IO::TMFParserContext::m_volume</a></div><div class="ttdeci">ModelVolume * m_volume</div><div class="ttdoc">Volume allocated for an model/object/mesh. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:125</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a79812d8b35af591f38df5880c287c343"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a79812d8b35af591f38df5880c287c343">Slic3r::IO::TMFParserContext::m_object_vertices</a></div><div class="ttdeci">std::vector&lt; float &gt; m_object_vertices</div><div class="ttdoc">Vertices parsed for the current m_object. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:122</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86ad7815657975608a5972412440a57e845"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ad7815657975608a5972412440a57e845">Slic3r::IO::TMFParserContext::NODE_TYPE_METADATA</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:84</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_afb30bdcb72919cbb7966ebf9daa4e710"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#afb30bdcb72919cbb7966ebf9daa4e710">Slic3r::IO::TMFParserContext::m_value</a></div><div class="ttdeci">std::string m_value[3]</div><div class="ttdoc">Generic string buffer for metadata, etc. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:131</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a98f3bde14fc0cfb28ce690dcb027a87c"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a98f3bde14fc0cfb28ce690dcb027a87c">Slic3r::IO::TMFParserContext::get_transformations</a></div><div class="ttdeci">bool get_transformations(std::string matrix, std::vector&lt; double &gt; &amp;transformations)</div><div class="ttdef"><b>Definition:</b> TMF.cpp:739</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a2c7014a335cb42f4044bd2665188170c"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a2c7014a335cb42f4044bd2665188170c">Slic3r::IO::TMFParserContext::TMFParserContext</a></div><div class="ttdeci">TMFParserContext(XML_Parser parser, Model *model)</div><div class="ttdef"><b>Definition:</b> TMF.cpp:405</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a8e3408bf8369df2657caa436d6e5e5c8"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a8e3408bf8369df2657caa436d6e5e5c8">Slic3r::IO::TMFParserContext::apply_transformation</a></div><div class="ttdeci">void apply_transformation(ModelObject *object, std::vector&lt; double &gt; &amp;transformations)</div><div class="ttdef"><b>Definition:</b> TMF.cpp:827</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_aef70a61b969fb15534010791ef478db5"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#aef70a61b969fb15534010791ef478db5">Slic3r::IO::TMFParserContext::m_output_objects</a></div><div class="ttdeci">std::vector&lt; bool &gt; m_output_objects</div><div class="ttdef"><b>Definition:</b> TMF.hpp:118</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_accb50f51c2f8a081cd8a5d8dca6b6ac1"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#accb50f51c2f8a081cd8a5d8dca6b6ac1">Slic3r::IO::TMFParserContext::get_attribute</a></div><div class="ttdeci">static const char * get_attribute(const char **atts, const char *id)</div><div class="ttdef"><b>Definition:</b> TMF.cpp:441</div></div>
<div class="ttc" id="class_slic3r_1_1_model_object_html"><div class="ttname"><a href="class_slic3r_1_1_model_object.html">Slic3r::ModelObject</a></div><div class="ttdef"><b>Definition:</b> Model.hpp:248</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86afafbd121fc188b762aad15c7ee6d4a14"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86afafbd121fc188b762aad15c7ee6d4a14">Slic3r::IO::TMFParserContext::NODE_TYPE_COMPONENT</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:93</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86a5d16b0b6098e6dbdb686c8f268a696ab"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a5d16b0b6098e6dbdb686c8f268a696ab">Slic3r::IO::TMFParserContext::NODE_TYPE_MESH</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:87</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86ac14c782c22718a2f986f8ea1b2f9df2d"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ac14c782c22718a2f986f8ea1b2f9df2d">Slic3r::IO::TMFParserContext::NODE_TYPE_MODEL</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:83</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86ae4fd69b711e64e1ea93442eda04eeb63"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ae4fd69b711e64e1ea93442eda04eeb63">Slic3r::IO::TMFParserContext::NODE_TYPE_SLIC3R_VOLUMES</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:97</div></div>
<div class="ttc" id="class_slic3r_1_1_i_o_1_1_t_m_f_editor_html_a58f8a21d9a5ef5d4f15f4bebc80adcd3"><div class="ttname"><a href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a58f8a21d9a5ef5d4f15f4bebc80adcd3">Slic3r::IO::TMFEditor::consume_TMF</a></div><div class="ttdeci">bool consume_TMF()</div><div class="ttdoc">Read TMF function called by TMF::read() function. </div><div class="ttdef"><b>Definition:</b> TMF.cpp:369</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86a9071b355d36afd8985a5076dfe751759"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a9071b355d36afd8985a5076dfe751759">Slic3r::IO::TMFParserContext::NODE_TYPE_ITEM</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:95</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86a222d4eef1b143275ed7330a3a5ca93f8"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a222d4eef1b143275ed7330a3a5ca93f8">Slic3r::IO::TMFParserContext::NODE_TYPE_COMPONENTS</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:92</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86a39f42da0145f610923298ab0d01010b9"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a39f42da0145f610923298ab0d01010b9">Slic3r::IO::TMFParserContext::NODE_TYPE_SLIC3R_OBJECT_CONFIG</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:99</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_ad1ace9f8b53b111ec59052f31bd5d291"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad1ace9f8b53b111ec59052f31bd5d291">Slic3r::IO::TMFParserContext::m_parser</a></div><div class="ttdeci">XML_Parser m_parser</div><div class="ttdoc">Current Expat XML parser instance. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:103</div></div>
<div class="ttc" id="class_slic3r_1_1_model_volume_html"><div class="ttname"><a href="class_slic3r_1_1_model_volume.html">Slic3r::ModelVolume</a></div><div class="ttdef"><b>Definition:</b> Model.hpp:450</div></div>
<div class="ttc" id="class_slic3r_1_1_model_html"><div class="ttname"><a href="class_slic3r_1_1_model.html">Slic3r::Model</a></div><div class="ttdef"><b>Definition:</b> Model.hpp:38</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a05ab0d6cdf4e59d19893924799459ba6"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a05ab0d6cdf4e59d19893924799459ba6">Slic3r::IO::TMFParserContext::m_path</a></div><div class="ttdeci">std::vector&lt; TMFNodeType &gt; m_path</div><div class="ttdoc">Current parsing path in the XML file. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:106</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a84ad1cb764f2bac5f89c4b70d2a1c003"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a84ad1cb764f2bac5f89c4b70d2a1c003">Slic3r::IO::TMFParserContext::stop</a></div><div class="ttdeci">void stop()</div><div class="ttdef"><b>Definition:</b> TMF.cpp:733</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a111933475cde5ba21b1be1ec874bba2c"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a111933475cde5ba21b1be1ec874bba2c">Slic3r::IO::TMFParserContext::endElement</a></div><div class="ttdeci">void endElement()</div><div class="ttdef"><b>Definition:</b> TMF.cpp:661</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_ad517d362256f0ac2554aee755eaf5263"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad517d362256f0ac2554aee755eaf5263">Slic3r::IO::TMFParserContext::characters</a></div><div class="ttdeci">static void XMLCALL characters(void *userData, const XML_Char *s, int len)</div><div class="ttdef"><b>Definition:</b> TMF.cpp:434</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_ae4323d3df65ad95ec2c1fff30017f08a"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ae4323d3df65ad95ec2c1fff30017f08a">Slic3r::IO::TMFParserContext::startElement</a></div><div class="ttdeci">static void XMLCALL startElement(void *userData, const char *name, const char **atts)</div><div class="ttdef"><b>Definition:</b> TMF.cpp:421</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86">Slic3r::IO::TMFParserContext::TMFNodeType</a></div><div class="ttdeci">TMFNodeType</div><div class="ttdef"><b>Definition:</b> TMF.hpp:81</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a8534524b32971e9077c650db7802d98b"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a8534524b32971e9077c650db7802d98b">Slic3r::IO::TMFParserContext::m_volume_facets</a></div><div class="ttdeci">std::vector&lt; int &gt; m_volume_facets</div><div class="ttdoc">Faces collected for all volumes of the current object. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:128</div></div>
<div class="ttc" id="class_slic3r_1_1_i_o_1_1_t_m_f_editor_html_a723dfd2a660f1bab9f1c5097355ba0bc"><div class="ttname"><a href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a723dfd2a660f1bab9f1c5097355ba0bc">Slic3r::IO::TMFEditor::TMFEditor</a></div><div class="ttdeci">TMFEditor(std::string input_file, Model *_model)</div><div class="ttdef"><b>Definition:</b> TMF.hpp:35</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86ae14dbe8c88fd692a18f99f7b48d7d7a0"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ae14dbe8c88fd692a18f99f7b48d7d7a0">Slic3r::IO::TMFParserContext::NODE_TYPE_VERTICES</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:88</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_af4f6fef36e209328d2c9280c52a3fd70"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#af4f6fef36e209328d2c9280c52a3fd70">Slic3r::IO::TMFParserContext::endDocument</a></div><div class="ttdeci">void endDocument()</div><div class="ttdef"><b>Definition:</b> TMF.cpp:727</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86aa87561148ee623ed053be27d42f18ded"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aa87561148ee623ed053be27d42f18ded">Slic3r::IO::TMFParserContext::NODE_TYPE_SLIC3R_METADATA</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:96</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86aeb4a1b823d210424b6628eab8603c8f1"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aeb4a1b823d210424b6628eab8603c8f1">Slic3r::IO::TMFParserContext::NODE_TYPE_TRIANGLES</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:90</div></div>
<div class="ttc" id="class_slic3r_1_1_i_o_1_1_t_m_f_editor_html_ab23afed7ab0f1f60c3cf77268d6affdf"><div class="ttname"><a href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#ab23afed7ab0f1f60c3cf77268d6affdf">Slic3r::IO::TMFEditor::~TMFEditor</a></div><div class="ttdeci">~TMFEditor()</div><div class="ttdef"><b>Definition:</b> TMF.cpp:386</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86aa2150af9c2d5a5bb0169d53708321203"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aa2150af9c2d5a5bb0169d53708321203">Slic3r::IO::TMFParserContext::NODE_TYPE_RESOURCES</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:85</div></div>
<div class="ttc" id="class_slic3r_1_1_i_o_1_1_t_m_f_editor_html_a8689a38dac177f6aaaafcef4acc5094a"><div class="ttname"><a href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a8689a38dac177f6aaaafcef4acc5094a">Slic3r::IO::TMFEditor::produce_TMF</a></div><div class="ttdeci">bool produce_TMF()</div><div class="ttdoc">Write TMF function called by TMF::write() function. </div><div class="ttdef"><b>Definition:</b> TMF.cpp:344</div></div>
<div class="ttc" id="namespace_slic3r_html"><div class="ttname"><a href="namespace_slic3r.html">Slic3r</a></div><div class="ttdef"><b>Definition:</b> BoundingBox.cpp:4</div></div>
<div class="ttc" id="class_slic3r_1_1_i_o_1_1_t_m_f_editor_html"><div class="ttname"><a href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html">Slic3r::IO::TMFEditor</a></div><div class="ttdoc">3MF Editor class responsible for reading and writing 3mf files. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:23</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86a4610c7f7cc16b5c699a12f46e0db8065"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a4610c7f7cc16b5c699a12f46e0db8065">Slic3r::IO::TMFParserContext::NODE_TYPE_SLIC3R_VOLUME</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:98</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86ac60492883f55b5d80a2a4d0235e61d50"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86ac60492883f55b5d80a2a4d0235e61d50">Slic3r::IO::TMFParserContext::NODE_TYPE_VERTEX</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:89</div></div>
<div class="ttc" id="class_slic3r_1_1_zip_archive_html"><div class="ttname"><a href="class_slic3r_1_1_zip_archive.html">Slic3r::ZipArchive</a></div><div class="ttdoc">A zip wrapper for Miniz lib. </div><div class="ttdef"><b>Definition:</b> ZipArchive.hpp:14</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_ad740fb1796f7c33b353a913c01bb350d"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad740fb1796f7c33b353a913c01bb350d">Slic3r::IO::TMFParserContext::add_volume</a></div><div class="ttdeci">ModelVolume * add_volume(int start_offset, int end_offset, bool modifier)</div><div class="ttdef"><b>Definition:</b> TMF.cpp:862</div></div>
<div class="ttc" id="class_slic3r_1_1_model_instance_html"><div class="ttname"><a href="class_slic3r_1_1_model_instance.html">Slic3r::ModelInstance</a></div><div class="ttdef"><b>Definition:</b> Model.hpp:516</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a11731e8f03e589487a4c7d25c87a2cbe"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a11731e8f03e589487a4c7d25c87a2cbe">Slic3r::IO::TMFParserContext::m_object</a></div><div class="ttdeci">ModelObject * m_object</div><div class="ttdoc">Current object allocated for an model/object XML subtree. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:112</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html">Slic3r::IO::TMFParserContext</a></div><div class="ttdoc">3MF XML Document parser. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:79</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_ad8708e604f97a404a1c06c99c8b2a5da"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#ad8708e604f97a404a1c06c99c8b2a5da">Slic3r::IO::TMFParserContext::m_objects_indices</a></div><div class="ttdeci">std::map&lt; std::string, int &gt; m_objects_indices</div><div class="ttdoc">Mapping the object id in the document to the index in the model objects vector. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:115</div></div>
<div class="ttc" id="class_slic3r_1_1_i_o_1_1_t_m_f_editor_html_a8c6712f32bf2e068730ea0caa4c43da3"><div class="ttname"><a href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a8c6712f32bf2e068730ea0caa4c43da3">Slic3r::IO::TMFEditor::namespaces</a></div><div class="ttdeci">const std::map&lt; std::string, std::string &gt; namespaces</div><div class="ttdoc">Namespaces in the 3MF document. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:26</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86a62de991339133354a022dad6f23412dc"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a62de991339133354a022dad6f23412dc">Slic3r::IO::TMFParserContext::NODE_TYPE_TRIANGLE</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:91</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a053951b41d1087a665b2afc2491210c1"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a053951b41d1087a665b2afc2491210c1">Slic3r::IO::TMFParserContext::m_model</a></div><div class="ttdeci">Model &amp; m_model</div><div class="ttdoc">Model to receive objects extracted from an 3MF file. </div><div class="ttdef"><b>Definition:</b> TMF.hpp:109</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86aedcac47c6f44f81462ca1cfd6f47a0d1"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aedcac47c6f44f81462ca1cfd6f47a0d1">Slic3r::IO::TMFParserContext::NODE_TYPE_OBJECT</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:86</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86aeb9a833790b80ca3ce69b3dbc7e4691f"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86aeb9a833790b80ca3ce69b3dbc7e4691f">Slic3r::IO::TMFParserContext::NODE_TYPE_BUILD</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:94</div></div>
<div class="ttc" id="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context_html_a5d263ffeb74aea4391a99d5030cdaa86a4cdf5e4d4ee8d88f963ee02cd3fce8ca"><div class="ttname"><a href="struct_slic3r_1_1_i_o_1_1_t_m_f_parser_context.html#a5d263ffeb74aea4391a99d5030cdaa86a4cdf5e4d4ee8d88f963ee02cd3fce8ca">Slic3r::IO::TMFParserContext::NODE_TYPE_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> TMF.hpp:82</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
